<?php

	if (version_compare(phpversion(), '5.2.0', '<') === true) {
	    echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; text-transform:none; text-align:left; color:#2f2f2f;">It looks like you have an invalid PHP version.</h3></div><p>Supports PHP 5.2.0 or newer.</div>';
	    exit(1);
	}

	require_once '../app/Main.php';

	umask(0);
	Main::run('cron', 'http');
